<template>
  <div><router-link to="/">首页</router-link></div>
  <div><router-link to="/List">列表</router-link></div>
  <div><router-link to="/detail">详情</router-link></div>
  <div>
    <RouterView />
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()

</script>